/**
 * 
 */
package fr.utbm.gi.vi51.slizers.framework.environment;

import org.janusproject.kernel.address.AgentAddress;

import fr.utbm.gi.vi51.slizers.framework.agent.AbstractSituatedObject;
import fr.utbm.gi.vi51.slizers.framework.agent.Direction;

/**
 * Implementation of a motion influence.
 *
 * @author Tarik Belabbas
 *
 */
public class MotionInfluence extends Influence< AbstractSituatedObject >
{
	private final Direction motionDirection;
	
	/**
	 * Parameterized constructor.
	 * 
	 * @param _emitter
	 * @param _influencedObject
	 */
	public MotionInfluence( AgentAddress _emitter,
			/*AbstractSituatedObject _influencedObject,*/ Direction _motionDirection )
	{
		super( _emitter/*, _influencedObject*/ );
		
		this.motionDirection = _motionDirection;
	}

	/**
	 * Returns the direction of the motion.
	 * 
	 * @return the direction of the motion
	 */
	public Direction getMotionDirection()
	{
		return this.motionDirection;
	}
}
